#pragma once

#include <iostream>
#include "ShowLog.h"


class Entity
{
private:
	float x, y;
	int u, v;
	 
public:
	//Entity()=delete;
	Entity();
	Entity(float x, float y) { this->x = x; this->y = y; };
	Entity() :x(0), y(5) { x *= 2; y *= 2;	};
	~Entity();
	 
	void Print() { std::cout << x << y << std::endl; } 

};
   

Entity::Entity()
{
	std::cout << "create entity!" << std::endl;
}

Entity::~Entity()
{
	std::cout << "destroyed entity!" << std::endl;
}

int RunExample025()
{
	Entity e0;

	Entity e(5,8);
	e.Print();

	Entity e1 ;
	e1.Print();

	return 0;
}








